home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / comm / ozcis4.zip / TERMINAL.DOC < prev   
Text File  |  1992-03-09  |  33KB  |  961 lines

  1.  
  2.  
  3.  
  4.  
  5.                 File: TERMINAL.DOC -- OZCIS' TERMINAL MODE
  6.  
  7. This section details use of the Online Terminal facility.
  8.  
  9.  
  10.                 THE ONLINE TERMINAL
  11.  
  12. While OzCIS works hard to automate your online chores, there will
  13. always be times when you need to do something manually while connected
  14. to CIS. OzCIS provides you with a manual terminal, similar in many
  15. ways to other general-purpose communications terminal programs, to
  16. make these chores easier. The manual terminal also provides several
  17. special tools that can make accessing CIS in manual mode easier and
  18. faster.
  19.  
  20. Some highlights of the manual terminal:
  21.  
  22. o   Access to your list of forums, and a quick method of selecting a
  23.     forum from the list and GO-ing to that forum.
  24.  
  25. o   Access to your Address Book.
  26.  
  27. o   The ability to execute scripts from within the terminal.
  28.  
  29. o   The ability to capture incomming data to a file.
  30.  
  31. o   A 400-line scrollback buffer that lets you "look back" at data
  32.     that has scrolled off the screen.
  33.  
  34. o   A "Split-screen" mode which makes conferencing and "chats"
  35.     easier and faster.
  36.  
  37.  
  38.                 ACCESSING THE MANUAL TERMINAL
  39.  
  40. There are two ways to access the manual terminal: while on-line in
  41. automated mode via the Alt-S or Alt-T commands, or from the main menu.
  42.  
  43. When on-line in automated processing mode, pressing Alt-T tells OzCIS
  44. to complete processing the current area (Mail, Forum, etc.), then
  45. enter manual mode. Pressing Alt-S in that situation tells OzCIS to
  46. complete ALL automated processing before entering manual mode.
  47.  
  48. When you're not on-line with CIS, access to the manual terminal is via
  49. the ONLINE > MANUAL TERMINAL menu option. When you select this option,
  50. a submenu pops up in which you can choose to have OzCIS log on to CIS
  51. for you before entering manual mode (AUTO LOGON), or enter manual mode
  52. directly (MANUAL).
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.   ------------------------------------------------------------------
  60.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 142
  61.  
  62.  
  63.  
  64.  
  65.                 USING THE MANUAL TERMINAL: THE CIS SIDE
  66.  
  67. Once in manual mode, any text you enter via the keyboard will be sent
  68. to the modem, and any data received will be displayed. Certain keys or
  69. characters act as special commands to CIS. (The following information
  70. is taken from the CIS "General Help" area.)
  71.  
  72. Every command must end with a carriage return. Pressing the carriage
  73. return key (which may be marked ENTER on some keyboards) transmits the
  74. command to CompuServe.
  75.  
  76. In on-line information, the carriage return key is represented by the
  77. symbol <CR>. Pressing <CR> at the end of an article returns you to
  78. the previous menu.
  79.  
  80.  T - TOP menu page
  81.  M - previous MENU
  82.  H or ? - HELP
  83.  GO word or GO page - GO directly to a service
  84.  FIND topic - FIND all references to topic
  85.  OFF or BYE - sign off
  86.  S n - SCROLL from n
  87.  R - RESEND a page
  88.  F - FORWARD a page
  89.  B - BACK a page
  90.  N - display NEXT menu item
  91.  P - display PREVIOUS menu item
  92.  SET option - SET terminal option
  93.  PER - exit to Personal File Area
  94.  
  95. SCROLL allows you to to enter lists and/or ranges of menu selections.
  96. The ALL or SCROLL ALL command displays every choice on the current
  97. menu, including multiple page menus.
  98.  
  99.  Examples:
  100.    !  ALL
  101.    !  SCROLL ALL
  102.  
  103. Multiple menu selections are valid. Menu choices can be entered as a
  104. list or a range, or any combination of the two. The same selections
  105. arguments are valid with the SCROLL command.
  106.  
  107.  Examples:
  108.    !  1,2,3  and  !  S 1,2,3
  109.    !  5-9    and  !  S 5-9
  110.    !  9-5    and  !  S 9-5
  111.    !  1,3-5  and  !  S 1,3-5
  112.    !  3-5,1  and  !  S 3-5,1
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.   ------------------------------------------------------------------
  120.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 143
  121.  
  122.  
  123.  
  124.  
  125. CONTROL CHARACTER COMMANDS
  126.  
  127. NOTE:  These commands are entered by pressing two keys together:
  128.        the Control key and a letter key.
  129.  
  130.  Control C - Stops the program being used.
  131.  
  132.  Control O - Discontinues the flow of information to your computer
  133.              or terminal without stopping the current program.
  134.  
  135.  Control S - Immediately suspends output from the host computer.
  136.  
  137.  Control Q - Resumes output at the point where it was interrupted by
  138.              Control S.
  139.  
  140.  Control U - Deletes the line you currently are typing.
  141.  
  142.  
  143. COMMAND SUMMARY
  144.  
  145. Most CompuServe commands can be abbreviated to uniqueness. One letter
  146. is sufficient in most cases. (Exceptions are FIND, SET, PER, EXIT, OFF
  147. and BYE.) Terminate all commands with a carriage return (which may be
  148. marked ENTER on some keyboards and is represented on-line as <CR>).
  149.  
  150. On the following pages, you will find a listing of commands with their
  151. respective descriptions to assist you in using CompuServe.
  152.  
  153. T - TOP
  154.   Goes directly to the first page (TOP) of CompuServe.
  155.  
  156. M - Menu
  157.   Goes back to the menu page that points to the current page. A single
  158.   <CR> will also return to the last menu if there isn't a next page.
  159.  
  160. H or ? - HELP
  161.   Displays this information. Other HELP messages area available
  162.   within specific services.
  163.  
  164. GO word or GO page - GO directly to a service.
  165.   Takes you immediately to the service identified by word or page.
  166.  
  167.   "word" is any Quick Reference Word, as in GO WEATHER or GO TRAVEL.
  168.   To display a list of these words, enter GO QUICK.
  169.  
  170.   "page" identifies a specific page (screen display) by database name
  171.   and page number, as in GO HOM10. The database name by itself
  172.   identifies the first page of the database (for instance, GO HOM is
  173.   the same as GO HOM1). The page number by itself identifies a page
  174.   in the current service.
  175.  
  176.  
  177.  
  178.  
  179.   ------------------------------------------------------------------
  180.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 144
  181.  
  182.  
  183.  
  184.  
  185. S n - SCROLL n
  186.   SCROLLs remainder of an article, displaying pages continuously
  187.   without pausing. At a menu, S n selects item n and scrolls through
  188.   all the pages for that item. Please note that a space is required
  189.   between the S and item n.
  190.  
  191. B - BACKWARD
  192.   Returns to the page preceding the current page.
  193.  
  194. R - RESEND
  195.   RESENDS the current page. This is useful if the current page has
  196.   scrolled off the screen or after a HELP command.
  197.  
  198. FIND topic
  199.   Finds all index references to a topic and displays a menuized list
  200.   with corresponding page numbers.
  201.  
  202. N - NEXT
  203.   Goes to the NEXT item from last selected menu. If 5 was the last
  204.   choice, N will display item 6.
  205.  
  206. P - PREVIOUS
  207.   Goes to the PREVIOUS item from last selected menu. If 5 was the last
  208.   choice, P will display item 4.
  209.  
  210. F - FORWARD
  211.   Displays the next page in a series of pages. A single <CR> will do
  212.   the same thing.
  213.  
  214. PER or EXIT
  215.   EXITs to the Personal File Area. From some subsystems, EXIT takes
  216.   you to the previous menu.
  217.  
  218. OFF or BYE
  219.   Disconnects you from CompuServe immediately.
  220.  
  221.  
  222.  CONTROL CHARACTER COMMANDS
  223.  
  224. Control characters transmit special commands to the host computer.
  225. These commands are entered by pressing two keys together: the Control
  226. key and a letter key.
  227.  
  228. Control C
  229.   Stops the program you are using. You then can type another menu
  230.   selection or command. ^C is displayed on your screen.
  231.  
  232. Control O
  233.   Discontinues the flow of information from the host computer.
  234.   Entering a second Control O turns the display back on at a later
  235.   point in the transmission. ^O is displayed on your screen.
  236.  
  237.  
  238.  
  239.   ------------------------------------------------------------------
  240.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 145
  241.  
  242.  
  243.  
  244.  
  245. Control S
  246.   Immediately suspends output from the host computer.
  247.  
  248. Control Q
  249.   Resumes the running display of output at the point where it was
  250.   interrupted by Control S.
  251.  
  252. Control U
  253.   Deletes the line currently being typed. ^U is displayed.
  254.  
  255. For additional assistance type GO INSTRUCTIONS.
  256.  
  257.  
  258.                 A LOT TO LEARN...
  259.  
  260. Detailing all of the available CIS menu options, and for that matter
  261. the dozens of available command words, would take a book. Such books
  262. are available! CompuServe sells a guidebook to the service, and third-
  263. party authors have written several exellent books on the subject. (My
  264. personal recommendation is David Peyton's GETTING THE MOST OUT OF
  265. COMPUSERVE.) Some of these books are available from your local
  266. bookseller, and CIS also provides an area (GO ORDER) where you can
  267. order books to be sent directly to you and charged to your CIS
  268. account. If you are a novice CIS user, one of these books will prove
  269. invaluable.
  270.  
  271.  
  272.                 USING THE MANUAL TERMINAL: THE OzCIS SIDE
  273.  
  274. Whenever you are in manual mode, a menu is available at the top of the
  275. screen. You can access this menu with the mouse, or press F10 to
  276. select the menu in general. You can also select specific menu options
  277. via these commands:
  278.  
  279. ALT-C    Capture
  280.  
  281.   Captures all incomming data to a file. You are prompted for the file
  282.   name. This command is a "toggle"; selecting it once turns capture
  283.   ON, and selecting it again turns capture OFF. A status flag next to
  284.   the "Capture" menu item keeps you informed of the state of capture.
  285.  
  286. ALT-E    Externals
  287.  
  288.   Gives you access to the external programs you have defined. An
  289.   external can be run any time, whether or not you are connected to
  290.   CIS. Note that running an external program that accesses the serial
  291.   port for your modem may cause an existing connection to be broken
  292.   unless the program was specifically designed for that purpose.
  293.  
  294.  
  295.  
  296.  
  297.   ------------------------------------------------------------------
  298.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 146
  299.  
  300.  
  301.  
  302.  
  303. ALT-S    Script
  304.  
  305.   Allows you to execute an OzCIS command script you have created.
  306.   See below for more information on scripts.
  307.  
  308. ALT-V    View       (alternate key: PgUp)
  309.  
  310.   Displays the Scroll-Back Buffer.
  311.  
  312. ALT-A    AddressBook
  313.  
  314.   Provides access to your AddressBook. This access is display-only;
  315.   you cannot currently add or edit Address Book entries when in
  316.   manual-terminal mode.
  317.  
  318. ALT-O    Other
  319.  
  320.   This command brings up a submenu of services. What that submenu
  321.   contains depends on whether or not you are in Conference (split-
  322.   screen) mode.
  323.  
  324. In normal manual mode, the options are:
  325.  
  326.     LOG ON  - If you are not already connected to CIS, dials the
  327.               current Host and logs on.
  328.  
  329.     LOG OFF - If you are currently connected to CIS, logs off and
  330.               breaks the connection.
  331.  
  332.     ENTER   - Presents the list of your defined forums for the current
  333.               Host. Selecting a forum in this list causes OzCIS to
  334.               issue the proper GO command to enter that forum.
  335.  
  336.     GO      - GO to a service. You are prompted for the service
  337.               page name. Can be a forum or non-forum service.
  338.  
  339.     CONF.   - Enters Conference (split-screen) mode.
  340.  
  341. In Conference mode, the options are:
  342.  
  343.     WIDTH   - Set the wordwrap width for the split-screen "input"
  344.               line.
  345.  
  346.     NORMAL  - Return to normal manual mode.
  347.  
  348.  
  349. ALT-X    Exit
  350.  
  351.   Exit manual mode. If you entered manual mode via the Alt-T command
  352.   while performing automated processing, OzCIS will continue automated
  353.   processing where it left off. If you entered manual mode via the
  354.  
  355.  
  356.  
  357.   ------------------------------------------------------------------
  358.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 147
  359.  
  360.  
  361.  
  362.  
  363.   Alt-S command or via the ONLINE > MANUAL menu option, OzCIS will log
  364.   off of CIS (if connected) and return to the main menu screen.
  365.  
  366.  
  367.                 A WORD ABOUT ON-LINE MODES...
  368.  
  369. When you do a Profile Configuration pass in OzCIS, one of the general
  370. configuration options it sets up is the "access mode" used in the
  371. forums. CIS supports two primary modes of access operation in the
  372. forums: menu and command. OzCIS sets things up for command mode, which
  373. allows it to operate much faster... but command mode can be very
  374. intimidating for the CIS novice, because it requires you to remember
  375. all the special forum commands in order to do anything.
  376.  
  377. But, if you can remember just one command, getting into menu mode is
  378. simple - and from there, accessing all of the forum's services is
  379. easy. The command is:
  380.  
  381.   OP;MODE MENU;S
  382.  
  383. Type this command at the "Forum !" prompt when you first enter the
  384. forum and press <Enter>. This puts you into menu mode for that session
  385. only; once you leave the forum your setup will be restored to command
  386. mode so that OzCIS' automated capabilities will continue to work
  387. correctly.
  388.  
  389.  
  390.                 CONFERENCE (SPLIT-SCREEN) OPERATION
  391.  
  392. This facility makes real-time conferencing much easier. The screen is
  393. split into two areas, the "received data" area and the "input" area.
  394. Text received from CIS is displayed in the main (upper) window. Text
  395. you type is displayed in the input area at the bottom of the screen.
  396. If the text you type exceeds the wordwrap length you have specified,
  397. OzCIS automatically wraps the text to the nearest word boundary,
  398. appends an elipsis (the "..." symbol that means "more to follow", an
  399. accepted convention on all CIS conferences), and sends the text to
  400. CIS. To send a shorter line of text, press <CR>. Note that a small
  401. arrowhead in the line separating the two windows shows you where the
  402. current wordwrap point is set.
  403.  
  404. The input area acts as a line editor, with several of the same
  405. commands you are by now familar with in the various OzCIS dialogs,
  406. and a couple that are new. The available commands are:
  407.  
  408. LEFT   - Move the cursor left one character
  409. ^LEFT  - Move the cursor left one word
  410. HOME   - Move the cursor to the start of the line
  411. RIGHT  - Move the cursor right one character
  412. ^RIGHT - Move the cursor right one word
  413. END    - Move the cursor to the end of the line
  414.  
  415.  
  416.  
  417.   ------------------------------------------------------------------
  418.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 148
  419.  
  420.  
  421.  
  422.  
  423. DEL    - Delete the character at the cursor
  424. BACKSP - Delete the character to the left of the cursor and move the
  425.          cursor left one space
  426. INS    - Toggle between Insert and Overwrite mode
  427. PG UP  - Display the scrollback buffer
  428. F10    - Access the top menu
  429.  
  430.                 A WORD ABOUT CONFERENCING...
  431.  
  432. CompuServe makes real-time conferencing among many users easy. But
  433. as with any group of people talking together, common courtesy and a
  434. few simple rules of the road go a long way toward making the
  435. experience an enjoyable one. The PRACTICE forum keeps a list of
  436. information on conferencing rules, etiquette and commands; reviewing
  437. the information will help you understand conferencing and enable you
  438. to participate faster and more effectively. (For more information on
  439. the PRACTICE forum, see MISC.DOC.)
  440.  
  441. There are two general catagories of conference: "formal" and
  442. "informal". Formal conferences are usually planned offerings by forums
  443. or other services, with a guest speaker or speakers and a moderator
  444. whose job is to keep the conference running smoothly.
  445.  
  446. This type of conference may be held in a forum's conference area, or
  447. may be held in the special CIS Conference Center (GO CONFERENCE). In
  448. formal conferences, no one "speaks" until he or she is recognized by
  449. the moderator, at which time he or she enters the statement or
  450. question. To signify that you want to ask a question, enter a single
  451. question mark (?); to let the moderator know you want to make a
  452. statement, use a single exclamation mark (!). The moderator will
  453. recognize each questioner in turn. The Conference Center area
  454. maintains a list of formal conferences scheduled to be held in the
  455. Center, but does not keep track of conferences held in forums.
  456.  
  457. Informal conferences are friendly free-for-alls, held in a forum's
  458. conference rooms. Everyone "talks" at once, and often there are a
  459. dozen or more conversation threads rolling by on the screen; keeping
  460. up with the chatter can be an enjoyable challenge. Many forums have
  461. regularly-scheduled periodic informal conferences, while others almost
  462. never have conferences or only have announced conferences for specific
  463. purposes. Usually the forum's Conference announcement will list the
  464. time and day for any regular conference, and/or show a schedule of any
  465. planned formal conferences.
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.   ------------------------------------------------------------------
  478.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 149
  479.  
  480.  
  481.  
  482.  
  483.                       OzCIS SCRIPT LANGUAGE
  484.  
  485. OzCIS' script language is simple but powerful. The rules:
  486.  
  487. 1) Blank lines, and line beginning with a semicolon (;) are ignored.
  488.    Leading spaces are acceptable.
  489.  
  490. 2) Commands are single words of two or three characters. You can
  491.    spell out the command if it's easier for you; e.g. the "SEN"
  492.    command can be written as "SEND" or "SENDTEXT" or whatever you
  493.    like as long as the first characters match the chars of the
  494.    command.
  495.  
  496. 3) Each line can contain one and only one command, plus any parameters
  497.    that command allows or requires. No parentheses or other delimiters
  498.    are used.
  499.  
  500. 4) Commands that take text strings as parameters *require* either
  501.    single- or double-quotes as delimiters. If you need to use a
  502.    control character in a string, use standard carat notation (i.e.,
  503.    Control-C would be ^C, etc.) and make sure the ^char is unquoted;
  504.    for example to send two strings with a carrage return between and
  505.    after, you would send:
  506.  
  507.    SEN "This is the first string," ^M "and this is the second." ^M
  508.  
  509.    If you prefer, you can denote special characters using C-like hex
  510.    notation; an unquoted lower-case "x" followed immediately by two
  511.    hex digits will be interpreted as a single char of that ASCII
  512.    value. Example using the same string as above:
  513.  
  514.    SEN "This is the first string," x0D "and this is the second." x0D
  515.  
  516.    WARNING: NEVER send high-bit characters this way! Any hex char
  517.             should be x7F or less. Also, you should not prepend a zero
  518.             (i.e., x0D is legal, 0x0D is not.) Lower-case alphas in
  519.             hex numbers are acceptable.
  520.  
  521.  
  522. SCRIPT LANGUAGE COMMANDS
  523.  
  524.   SEND    - Sends all following text as a string. Control chars can
  525.             be embedded using normal carat notation. This command
  526.             waits for the sent string to be echoed at the port before
  527.             continuing.
  528.  
  529.   LSEND   - Like SEND above, but automatically adds a <CR> to the end
  530.             of the string.
  531.  
  532.   USEND   - Unconditional Send; like SEND above but does not wait for
  533.             sent-text echo. This one should be used wherever you may
  534.  
  535.  
  536.  
  537.   ------------------------------------------------------------------
  538.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 150
  539.  
  540.  
  541.  
  542.  
  543.             not see the sent text echoed, such as at the "Password:"
  544.             prompt or when sending the ^C at network logon.
  545.  
  546.   ULSEND  - Like USEND above, but adds a <CR> to the end of the
  547.             string.
  548.  
  549.   WAIT    - Waits for a char or string to be received. If the string
  550.             must contain control chars, use carat notation. There is
  551.             a fixed limit of 250 chars to wait for, though the
  552.             smaller the string the better to improve speed and reduce
  553.             potential for line hits and other errors causing a match
  554.             to "miss".
  555.  
  556.   GO      - GO to a CIS service page. This will GO to any CIS service
  557.             page, whether it is a forum or some other service. NOTE:
  558.             other script commands that logically only work in a forum,
  559.             such as the SL command below, will not work when you have
  560.             used the GO command to enter the forum; for these forum-
  561.             only commands to work you must have used the ENTER command
  562.             to reach the forum.
  563.  
  564.   ENTER   - Like GO, but specifically for forums. The processor deals
  565.             with ENTER differently from how it deals with GO; GO makes
  566.             no effort to determine what kind of CIS service area you
  567.             are going to, while ENTER processes forum entry just like
  568.             the normal on-line processor, and expects the proper forum
  569.             entry prompts to be received. Some other script commands,
  570.             like the SL command below, require ENTER to be used to
  571.             enter the forum before they will work.
  572.  
  573.   CAPTURE - Control capturing of data to a file. This command takes
  574.             different parameters depending on use: to open a capture
  575.             file, use a first param of "ON", and a second param of the
  576.             filename. Opening a capture file appends to any existing
  577.             file of the same name; to force an overwrite, add a "/O"
  578.             as a third param. To close a open capture, use a parameter
  579.             of "OFF". Issuing an "ON" command automatically closes any
  580.             open capture file before performing the "ON" command. See
  581.             the example scripts below for details.
  582.  
  583.   ERASE   - Erase an existing file. Provide a filename.
  584.  
  585.   TIMEOUT - Set the number of seconds the program will wait during a
  586.             WAIt command before timing out.
  587.  
  588.   DELAY   - Delay the number of system timer tics specified in the
  589.             parameter. Ignored if no parameter provided. Note this is
  590.             TICS, not SECONDS; there are approx. 18 tics per second,
  591.             so a 2-second delay would use a parameter of 36.
  592.  
  593.  
  594.  
  595.  
  596.  
  597.   ------------------------------------------------------------------
  598.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 151
  599.  
  600.  
  601.  
  602.  
  603.   DOS     - Shell to DOS. If a parameter string is provided, executes
  604.             that string as a DOS command or program to exec. Properly
  605.             saves and restores the port around the shell, so you can
  606.             execute other comm programs from within the shell. Uses a
  607.             "swapping" shell, so you will have all but about 5K of
  608.             your normal free RAM available.
  609.  
  610.   RUN     - Run a "sub-script". Once the sub-script is done, returns
  611.             to the "parent" script at the point of subscript execution.
  612.  
  613.   TERM    - Enter "Manual terminal" mode. Press <Esc> or select "Exit"
  614.             from the Terminal menu to return to script processing.
  615.  
  616.   GIF     - Sets the program's internal GIF capture file name for the
  617.             next time an on-line GIF view/capture is performed. Since
  618.             there are many places and ways GIFs can be viewed on-line,
  619.             this command simply tells the program to 1) use this name
  620.             on the next GIF capture, and 2) don't pause after capture
  621.             is complete. The internal GIF capture file name is cleared
  622.             each time a GIF is captured, so you will need to use this
  623.             command before each capture.
  624.  
  625.   GWM     - Get Weather Map. A special GIF view command, used only in
  626.             the AWM (Acu-Weather Maps) area of CompuServe. Since AWM
  627.             has a complex structure with several possible prompts
  628.             depending on map number, this command covers the whole
  629.             base for you. Once you have issued a "GO AWM" in your
  630.             script, just add a "GWM <map#> <region#>" line for each
  631.             map you wish to capture (see example below.) Map files are
  632.             named "MAP#.GIF" where "#" is the map number.
  633.  
  634.   SL      - "SCANLIB LONG" command; special command to ease scans
  635.             processing.
  636.  
  637.             Syntax:
  638.               SL [lib numbers] {modifiers} {/U}
  639.  
  640.             "[lib numbers]" is a string of comma-delimited numbers for
  641.             the libs you wish to scan. "{Modifiers}" are any special
  642.             CIS sub commands for lib scans you wish to use, like
  643.             "/AGE:xx". "{/U}" tells OzCIS to save the scan file as an
  644.             Update file rather than a main catalog file, which will
  645.             then be merged into the main file at the next opportunity.
  646.             OzCIS goes thru the libs specified, issuing a "DIR *.*
  647.             /DES" command with any provided modifiers appended. All
  648.             parameters except the lib numbers should be quoted. if
  649.             the /U switch is used, it *must* be the last parameter.
  650.  
  651.             Example:
  652.               SL 1,2,3,7,10 " /USER /AGE:10 /U"
  653.  
  654.  
  655.  
  656.  
  657.   ------------------------------------------------------------------
  658.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 152
  659.  
  660.  
  661.  
  662.  
  663.   DL      - Download Library file. Useful only in forums, as a simple
  664.             method of downloading one or more files from forum
  665.             library(s).
  666.  
  667.             Syntax:
  668.               DL <lib#>;<CIS filename>;<local filename>
  669.  
  670.             <Lib#> is the number of the library where the file is
  671.             stored. <CIS filename> is the name of the file to be
  672.             downloaded as it is stored on CIS. (note that this field
  673.             can include a PPN to accomodate ambiguous file names
  674.             within a library.) <Local filename> is the name for the
  675.             file on your local storage. All fields are required, as
  676.             are the separating semicolons. You must be in the forum of
  677.             choice, but do not have to be in the correct library.
  678.  
  679.             Examples:
  680.               DL 9;OZCIS1.EXE [70007,3574];OZCIS1.EXE
  681.               DL 6;OPRO.BRO;E:\DNLDS\OPRO.BRO
  682.  
  683.   BREAK   - Sends a BREAK signal out the port. Handy for some
  684.             specialty type logon scripts to connect to modem servers,
  685.             etc.
  686.  
  687.   WRITE   - Writes text parameter(s) to the screen.
  688.  
  689.             Example:
  690.               SET $1 "Steve Sneed"
  691.               WRITE "Welcome to OzCIS, " $1 "!" ^M^J
  692.  
  693.   LWRITE  - Like WRITE but uses appends CR/LF to string.
  694.  
  695.   CLS     - Clear the screen.
  696.  
  697.   WMH     - Writes a "fake" Mail Message Header to the capture file.
  698.             This capability makes it possible for scripts to capture
  699.             text info, such as weather reports, to the CISMAIL.MES
  700.             file for easy reading. WMH only writes the fake header;
  701.             you are responsible for opening and closing the file.
  702.  
  703.   JUMP    - Jump to a label in the script. Unconditional branch; the
  704.   (GOTO)    flow of execution never automatically returns to the jump
  705.             point.
  706.  
  707.   GOSUB   - Jump to a label, with the intention of returning to the
  708.             jump point. Must be matched with a RETurn command
  709.             somewhere after the jumped-to label unless an END or FAIL
  710.             command in issued in the jumped-to block. GOSUBs can be
  711.             nested up to 255 levels.
  712.  
  713.  
  714.  
  715.  
  716.  
  717.   ------------------------------------------------------------------
  718.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 153
  719.  
  720.  
  721.  
  722.  
  723.   RETURN  - Return to the jump point of the associated GOSUB.
  724.  
  725.   ONERROR - Set a label to be automatically jumped to when an error,
  726.             such as a wait timing out, occurs. If no such error label
  727.             is assigned, the script aborts. Example syntax: "ONERROR
  728.             ErrorPoint"
  729.  
  730.   END     - Terminate the script. Performs a clean termination of the
  731.             script processor and returns a "success" status to
  732.             following code. *ALL* scripts should have either an END or
  733.             FAIL command to assure proper termination of the script.
  734.  
  735.   FAIL    - Terminate the script. Performs a clean termination of the
  736.             script processor and returns a "failed" status to
  737.             following code. This would be useful in logon scripts to
  738.             indicate the connection could not be made, so that
  739.             subsequent on-line processing was not performed.
  740.  
  741.   SET     - Sets one of the ten available string or integer variables.
  742.             Note that literal values assigned to numeric variables
  743.             must still be enclosed in quotes. The string variables are
  744.             accessed by a dollar sign ($) followed by a number 0 to 9,
  745.             and the integer variables are accessed by a pound sign (#)
  746.             followed by a number 0 to 9.
  747.  
  748.             Examples:
  749.               SET $1 "This is string variable #1"
  750.               SET #0 "10"
  751.  
  752.   INC     - Increments a integer variable. Default increment is 1.
  753.  
  754.             Examples:
  755.               INC #1       {increments int var 1 by 1}
  756.               INC #1 "10"  {increments int var 1 by 10}
  757.  
  758.   DEC     - Same as INC but decrements rather than increments.
  759.  
  760.   IF      - Compares two variables or literals, performs following
  761.             action if the comparison is true.
  762.  
  763.             Examples:
  764.               IF $1 = "LIB 0 !" jump LoopDone
  765.               IF #1 <> "10" jump DoScan {"!=" can be used for "<>"}
  766.               IF #1 <= #2 Fail
  767.  
  768.   PROMPT  - Request input from the user and places that input in a
  769.             variable you designate.
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.   ------------------------------------------------------------------
  778.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 154
  779.  
  780.  
  781.  
  782.  
  783.             Syntax:
  784.               PROMPT {var} {prompt txt}
  785.  
  786.             Examples:
  787.               PROMPT $1 "Which ENS Folder to view?"
  788.               PROMPT #1 "Which library to scan?"
  789.  
  790.   UPCASE  - Forces a string variable to all uppercase, to simplify
  791.             some compare operations.
  792.  
  793.             Example:
  794.               PROMPT $1 "Do you want to abort? (Y/N)"
  795.               UPCASE $1
  796.               IF $1 = "Y" Fail
  797.  
  798.  
  799. Here's an example script that can be used for LOGON.SCR to log on to
  800. CIS via a CIS Net node.
  801.  
  802. ;Example for LOGON.SCR for CIS Net node
  803. ;first, delay 2 seconds (36 tics) to let node "settle"...
  804.   Delay 36
  805.  
  806. ;send a <CR> to wake things up...
  807.   send ^M
  808.  
  809. ;wait for the "Host:" prompt and respond...
  810.   wait "Host:"
  811.   lsend "CIS"
  812.  
  813. ;wait for the "User ID" prompt...
  814.   wait "User ID:"
  815.  
  816. ;all done!
  817.   end
  818.  
  819.  
  820. This is a more complex script that uses most of the script commands.
  821. It can be run from the "Custom Pass" option of the "Online" menu, and
  822. will grab the current weather reports for the Colorado region and a
  823. couple of GIF weather maps, displaying the GIF maps as it downloads
  824. them.
  825.  
  826.     ; **Example script to get weather information**
  827.     ;first, set up an error handler
  828.   ONERROR ErrorHandler
  829.  
  830.     ;initialize a counter for later
  831.   set #1 "1"
  832.  
  833.     ;now, go to the general WEATHER area...
  834.  
  835.  
  836.  
  837.   ------------------------------------------------------------------
  838.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 155
  839.  
  840.  
  841.  
  842.  
  843.   CLS
  844.   LWrite "--- Processing script to capture weather information ---"
  845.  
  846.   GO WEA-1
  847.  
  848.     ;request State Summary (SS) report for Colorado...
  849.   lsend "SS CO"
  850.  
  851.     ;jump to the subroutine that performs the capture...
  852.   gosub CapWeather
  853.  
  854.     ;see if the user wants the Extended Forcast as well
  855.   PROMPT $1 "Do you want the Extended forcast as well? (Y/N)"
  856.   UPCASE $1
  857.   if $1 = "N" goto SkipEF
  858.  
  859.     ;request Extended Forecast (EF) report...
  860.   lsend "EF CO"
  861.  
  862.     ;capture the report...
  863.   gosub CapWeather
  864.  
  865.     ;our label to jump to if the user wanted to skip the EF report
  866. SkipEF:
  867.  
  868.     ;see if the user wants the Extended Forcast as well
  869.   PROMPT $1 "Do you want the Weather Maps? (Y/N)"
  870.   UPCASE $1
  871.   if $1 = "N" goto SkipMaps
  872.  
  873.     ;now, go to AWM and get maps. First set timeout to 180 secs...
  874.   timeout 180
  875.   GO AWM
  876.  
  877.     ;use the GWM (GetWeatherMap) command to get some weather map GIFs
  878.     ;the GWM <#> <#> command is only for use in AWM!!!
  879.     ;get map #3, Satelite photograph...
  880.   gwm 3
  881.  
  882.     ;get map #7, regional review, for region #6 (southwest)...
  883.   gwm 7 6
  884.  
  885. SkipMaps:
  886.  
  887.     ;now drop into terminal mode...
  888.   Terminal
  889.  
  890.     ;complete, end script processing
  891.   End
  892.  
  893.     ;subroutine to capture weather info
  894.  
  895.  
  896.  
  897.   ------------------------------------------------------------------
  898.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 156
  899.  
  900.  
  901.  
  902.  
  903. CapWeather:
  904.   timeout 30
  905.  
  906.     ;open the capture file, in this case the normal CISMail file
  907.   capture ON CISMAIL.MES
  908.  
  909.     ;if we're on the first loop thru this subroutine, write a fake
  910.     ;mail msg header so we can find the report
  911.   if #1 = "1" WMH
  912.  
  913.     ;increment the counter variable so we skip the header next time
  914.   inc #1
  915.  
  916.   wait "ID:"
  917.   capture OFF
  918.   send ^M
  919.   wait "choice!"
  920.  
  921.     ;go back to the main script
  922.   return
  923.  
  924. ErrorHandler:
  925.   Off
  926.   Fail
  927.  
  928.  
  929. This simple script will update the Forum Names List file (OZCIS.FN)
  930. without having to perform a complete Profile Config pass. You would
  931. run this script from the ONLINE > CUSTOM PASS menu item.
  932.  
  933.   ;go to the INDEX area
  934.   go INDEX
  935.  
  936.   ;ask for listing
  937.   lsend "1"
  938.   wait ":"
  939.  
  940.   ;ask for all forum names
  941.   lsend "FORUMS"
  942.  
  943.   ;capture the resultant listing
  944.   timeout 0
  945.   capture ON OZCIS.FN /O
  946.   wait "PAGE!"
  947.   capture OFF
  948.   timeout 300
  949.   END
  950.  
  951.                             # # #
  952.  
  953.  
  954.  
  955.  
  956.  
  957.   ------------------------------------------------------------------
  958.   OzCIS 1.0  Copyright 1992 Steve Sneed                     Page 157
  959.  
  960.  
  961.